<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<style>
table{border-collapse:collapse;}
th {background-color:#ddd;}
th, td{border:1px solid #000; padding:5px;}
a{border-collapse:collapse;background-color:#ddd;color:#000; padding:3px;}
</style>

<h1>Robot detail</h1>

${robot.getName()} <br />
${robot.getVersion()} <br />
${robot.getDescription()} <br />
<c:forEach var="parts" items="${robot.getParts()}">
	${part.getName()}
</c:forEach>
